package com.itboye.shop.bean;

import java.util.List;

/**
 * 子类目查询
 */
public class ZiLeiMuBean {
    /**
     * parent : 1
     * level : 2
     * children : [{"parent":"4","level":"3","name":"轮毂改装","display_order":"0","root_id":"1","img_id":"0","id":"7"},{"parent":"4","level":"3","name":"氙气灯","display_order":"0","root_id":"1","img_id":"0","id":"8"}]
     * name : 汽配
     * display_order : 0
     * root_id : 1
     * img_id : 0
     * id : 4
     */
    private String parent;
    private String level;
    private List<ChildrenEntity> children;
    private String name;
    private String display_order;
    private String root_id;
    private String img_id;
    private String id;

    public void setParent(String parent) {
        this.parent = parent;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public void setChildren(List<ChildrenEntity> children) {
        this.children = children;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setDisplay_order(String display_order) {
        this.display_order = display_order;
    }

    public void setRoot_id(String root_id) {
        this.root_id = root_id;
    }

    public void setImg_id(String img_id) {
        this.img_id = img_id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getParent() {
        return parent;
    }

    public String getLevel() {
        return level;
    }

    public List<ChildrenEntity> getChildren() {
        return children;
    }

    public String getName() {
        return name;
    }

    public String getDisplay_order() {
        return display_order;
    }

    public String getRoot_id() {
        return root_id;
    }

    public String getImg_id() {
        return img_id;
    }

    public String getId() {
        return id;
    }

    public class ChildrenEntity {
        /**
         * parent : 4
         * level : 3
         * name : 轮毂改装
         * display_order : 0
         * root_id : 1
         * img_id : 0
         * id : 7
         */
        private String parent;
        private String level;
        private String name;
        private String display_order;
        private String root_id;
        private String img_id;
        private String id;

        public void setParent(String parent) {
            this.parent = parent;
        }

        public void setLevel(String level) {
            this.level = level;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setDisplay_order(String display_order) {
            this.display_order = display_order;
        }

        public void setRoot_id(String root_id) {
            this.root_id = root_id;
        }

        public void setImg_id(String img_id) {
            this.img_id = img_id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getParent() {
            return parent;
        }

        public String getLevel() {
            return level;
        }

        public String getName() {
            return name;
        }

        public String getDisplay_order() {
            return display_order;
        }

        public String getRoot_id() {
            return root_id;
        }

        public String getImg_id() {
            return img_id;
        }

        public String getId() {
            return id;
        }
    }
}
